package com.guigu.community.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("admins")
public class Admins {
        @TableId(type = IdType.AUTO)
        @TableField("admin_id")
        private Integer adminId;

        private String adminname;

        private String password;

        private String email;

        private String avatar;

        @TableField("created_at")
        private Date createdAt;

        @TableField("updated_at")
        private Date updatedAt;

        private String remark;

       }